package com.choose.seat.modules.domain;

/*
用户表
 */
public class User {

    private int id;

    private String wx_id;

    private String wx_key;

    private String name;

    private String pictureUrl;

    private String code;



    public User() {
    }

    public User(int id, String wx_id, String wx_key, String name, String pictureUrl) {
        this.id = id;
        this.wx_id = wx_id;
        this.wx_key = wx_key;
        this.name = name;
        this.pictureUrl = pictureUrl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWx_id() {
        return wx_id;
    }

    public void setWx_id(String wx_id) {
        this.wx_id = wx_id;
    }

    public String getWx_key() {
        return wx_key;
    }

    public void setWx_key(String wx_key) {
        this.wx_key = wx_key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", wx_id='" + wx_id + '\'' +
                ", wx_key='" + wx_key + '\'' +
                ", name='" + name + '\'' +
                ", pictureUrl='" + pictureUrl + '\'' +
                '}';
    }

    //    @Override
//    public String toString() {
//        return "{" +
//                "\"name\":\"" + name + '\"' +
//                ",\"picture\":\"" + picture + '\"' +
//                ",\"code\":\"" + code + '\"' +
//                '}';
//    }
}
